<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>日期</title>
		<script>
			var d=new Date();
			alert(d.getDay());
			alert(d.getDate());
			alert(d);
			
			alert(d.getFullYear());
			alert(d.toDateString());
			alert(d.toLocaleString());
			alert(d.toUTCString());
			console.log(d.getTime());
			console.log(Date.now());
		</script>
	</head>
	<body>
	</body>
</html>